#ifndef APPMAINMODEL_H
#define APPMAINMODEL_H

#include <QObject>

class AppMainModel : public QObject
{
    Q_OBJECT

    Q_PROPERTY(QString state READ state NOTIFY stateChanged)

public:
    explicit AppMainModel(QObject *parent = 0);

    QString state()const;

signals:
    void stateChanged();

public slots:
    void onStateReady();

private:
    QString _state;

};

#endif // APPMAINMODEL_H
